MindFusion.Charting for JavaScript Programmer's Guide
DataBoundSeries Constructor
See Also
 






Initializes a new instance of the DataBoundSeries class.

Namespace: MindFusion.Charting
File: DataBoundSeries.js

 Syntax

JavaScript  Copy Code

function DataBoundSeries (dataSource)

 Parameters

dataSource

Type: any, Array, IEnumerable
A reference to the data source object.

 Remarks

In most cases you would set the dataSource property of a chart control. DataBoundSeries are created automatically according to the contents of the provided dataSource.

 Example

The following code creates a DataBoundSeries instance from a List:

JavaScript  Copy Code

var data = new Collections.List([22, 18, 25, 34, 51, 44, 8]);

var series = new Charting.DataBoundSeries(data);

 See Also

DataBoundSeries Constructor Overload List
DataBoundSeries Class
MindFusion.Charting Namespace